//
//  MyMoneySlideView.h
//  XTXOneToOne
//
//  Created by Canny on 2018/11/2.
//  Copyright © 2018年 WK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BBmoneyCollectionViewCell.h"
#import "GGmoneyCollectionViewCell.h"

NS_ASSUME_NONNULL_BEGIN
typedef void(^BBMyMoneySlideBlock)(BBlistMoneyModel * model,NSString * Type);
typedef void(^GGMyMoneySlideBlock)(GGlistMoneyModel * model,NSString * Type);

@interface MyMoneySlideView : UIView

@property(nonatomic,strong)UICollectionView *collectionView;

@property(nonatomic,strong)NSArray *titleArray;

@property(nonatomic,strong)NSArray *selectedTitleArray;

@property(nonatomic,strong)UIColor *normalColor;

@property(nonatomic,strong)UIColor *selectedColor;

@property(nonatomic,strong)UIColor *SlideSelectedColor;

+(MyMoneySlideView *)segmentControlViewWithFrame:(CGRect)frame;

-(void)btnTouch:(UIButton *)sender;

@property(nonatomic,strong)BBmoneyCollectionViewCell * BBCell;
@property(nonatomic,strong)GGmoneyCollectionViewCell * GGCell;
@property(nonatomic,copy)BBMyMoneySlideBlock BBBlock;
@property(nonatomic,copy)GGMyMoneySlideBlock GGBlock;
@end

NS_ASSUME_NONNULL_END
